package com.iking.toolkit.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * 加载jwt配置文件类
 * @author hufx
 * @version 1.0
 * @date 2017年1月22日上午11:44:33
 */ 
@Component
public class WebToken implements Serializable{

	private static final long serialVersionUID = -3574431640051881254L;

	private String salt;			//base64位签名
	
	private String name;			//发行人名称
	
	private int expiresSecond;		//保存时间
	
	public String getSalt() {
		return salt;
	}
	
	public void setSalt(String salt) {
		this.salt = salt;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public int getExpiresSecond() {
		return expiresSecond;
	}
	
	public void setExpiresSecond(int expiresSecond) {
		this.expiresSecond = expiresSecond;
	}
	
	@Override
	public String toString() {
		return "WebToken [salt=" + salt + ", name=" + name + ", expiresSecond=" + expiresSecond + "]";
	}
	
}
